Move reports attachment url to to param

Previously was getting errors on filenames with characters that weren't
valid in the url. Moving to passing this via param will prevent that.
Merge pull request #473 from dimagi/case_file_name_error

Move reports attachment url to to param