Improve how we display file extensions in download cart

Add a '.' symbol so it's clear this is a file extension.
Don't show anything if the file mime type is unknown.
Added tests.