changes file mode