Added an Obj-C method to create a file attachment with in-memory data.