Fix permissions and also get rid of final pylint errors.