Fixing some file permissions issues.