Save files atomically with ordinary "w" command