fixed file permissions to match upstream's