Mongrel Apache file uploads

Hi,

In development i am using webrick to upload files via Ajax without any
problems. I have since deployed the code to live but when i upload
certain files word documents, excel sheets, csv its adding an extra
extension to the file. For example test.xls will become test.xls.doc
and test.csv will become test.csv.txt

Can anyone explain this behaviour?

JB