Get the file extension through the mimeType instead of the file path. Fixes issue where huge file path would be displayed for queued media items.