Converts an attachment to a file.
The attachment to convert.
Optional
A prefix for any resulting error messages.
Converts an attachment to a file.