Attachments will now store binary data correctly.

Fix #48
Pull in fixes from website and queue