FIX: Attachment uploading

broken by 95ad869645e16353e4468748385de2cd2bff1909.