update the saved export filenames to be hashes (couch didn't like _'s)
safer access to size property if no attachment set
Merge pull request #40 from dimagi/cz

update the saved export filenames to be hashes (couch didn't like _'s)