Fix error output when setting a FileAttachment's thumbnail.

The error output was returning a string, which didn't match all other
cases of INVALID_FORM_DATA errors. It should be returning an array.