Fix permissions on py files