Revert file modes