File permissions

Generated files all now have the permission set 644.