fix bulk export edge case where form or module has a numerical name

fixes http://manage.dimagi.com/default.asp?115237

still sloptastic, but this is a surgical fix for the bug.