saving a file twice in a row throws error: "<pathname> (the requested operation cannot be performed on a file with a user-mapped section open)"