Are your settings between the two the same? Sounds like DEV might be storing the files in the database maybe?
If i recall correctly whatever name is supplied in the getattachment path is the name the file will download as, so that doesn't have to reflect the actual file name.