Fix Error when saving python file (autocommand issue)