Undo file mode change