Overwriting files should now properly overwrite them, not just append