Always wrap file for writing but return unwrapped file

This way, the user will always get back the expected file object.
Also, we avoid an unnecessary (possibly) extra save attempt.