mediafile: Catch IndexError when file has empty list tag

Fixes #913