fix file permissions

review? @mikehenretty