I've just starting having this Word Document problem with attachments.
If I use Squirrelmail which is the alternative webmail on the system, the attachment is fine, if I download it through RoundCube, it seems to corrupt the document. Not all of it, but enough.
The above thing with inserting the command doesn't work either, that just breaks it completely and won't let me download after that.