Surely it would be easier to put the async resize logic inside here than to make `new Attachment()` go async?

This pull shouldn't need to touch `attachment.js` at all.