Work with genomic files correctly in Python.
Recent revisions are kept. Restoring one creates a new revision.