Doesn't sound like a bug to me at all if you remove the extension then it does not know what kind of file it is. You should keep the original file extension. The mime type of the file is determined by the extension and that is how the browser knows what to do with the file.