If overwriting existing file, make writable first