Apply proper file extension to temp files (they're never cleaned up, are they?)
Fix MIME type probing, strip attributes.
Support Apple M3U minor type, detect GVP playlists.