Fixed support for the old way to store attachments.