fix simplify.py so that it actually overwrites the existing file, thus keeping all file attributes intact, e.g. owner...