Wrap mediafile read exceptions in library.ReadError

The ui only handles library Exceptions. Fixes #857.