change file mode.