get default extension from mime content-type if file has no extension