Remove unused imports and fields
medialibrary: Reuse the code for setting the dragged paths
medialibrary: Fix supported file formats lists