Fix file permissions.