fix attachment uploads; fix post deletion
Posts via cURL with attachments were failing due to misunderstanding of golang multipart.File types and how they differ from os.*File types. Attachments are now properly uploaded to a dynamically created post directories. NB: Post directory permissions are set to 755 Post deletion would leave behind old attachments; this is no longer the case.
Showing with 48 additions and 8 deletions