revert file mode changed