modify_config says config file not found
For parts of the script, we os.chdir( self.work_dir) and from then on the
modify_config code didn't work.
Fix is to record where we were initially, and have modify_config os.chdir back there
to update the config file.