Fixes code to use object instead of array

Fixes code to use object instead of array, as file_save_upload returns an object. Also adds
a surrounding array($attachment) to example, as the new multi-file version of AttachmentEmail
expects an array, not a single object. Also fixes up the example in README so they work with
current code.