Changed how paths are split to allow anonymous attachments
Added a secondary index on attachments in the indexeddb impl