Adding
ns_param ".doc" "application/msword"
seems to have fixed the problem with the file type. Surprisingly (at least for me) .xls was already in the configuration file.
I have discovered another problem. Although the file is saved and displayed as filename.doc is is always downloaded as index.doc.
Don and Simon - yes I will sign up as a tester. Keep up the great work.