Revert file mode changes.
Revert file mode changes