Cleanup obsolete autosave keys

We use file URL as autosaving keys for documents. If things are
moved around too often this can  get out of control quickly, and
if the prefs get too large the whole app will be affected.