Increase size of attachment filename. Fixes #164.
Allow file attachments in storages other than local files (eg S3). Fixes GH-249.