removed dependence of Post on Attachment

The Attachment class won't be able to use java.io.File because
it isn't emulated on the client side by GWT.