revert file mode change