Reports with attachments should keep the dot in the name

See #259: when creating a report from url that creates an attachment (e.g. availability.xls), the "." was removed from the name when the client wanted to download the attachment. This change fixes this.
Merge pull request #263 from liedekef/patch-1

Reports with attachments should keep the dot in the name