Fix some file permissions.