apply 644 permissions to repository files created with save()