Python version
3.9
Package version
0.12.0
Current behavior (bug description)
When writing files using write_file with atomic=True, the file permissions of the original file get lost and are always set to 600.
Expected behavior
The file permissions of the file that is written to should be kept as is, no matter if you use atomic write or not.