Cleanup: fix file permissions