I had a similar issue and found a workaround with MarcoDroid.
You may customise the “Write to File” action for different use cases.