Writeable file object that atomically updates a file.