Fix file permission.