Some weird images would trigger and exception that raised an exception in the exception handler, thus breaking the medialibrary admin interface.

ValueError actually has no strerror, so just stringify the whole exception and hope for the best.