Catch all errors when loading state file.

A crash during the multi-threaded import process may leave the pickled
state invalid (see #913). We recover from all these errors.
mediafile: Catch IndexError when file has empty list tag

Fixes #913