OIION-1718

Variable wasn't initialized, so the backend wasn't getting the proper attachment request.  Fixed.
Merge pull request #315 from cgalvarino/init_attachment_filename

OIION-1718