fix for downloads not having an extension