Rename the attachment store folder before delete (#308)

When deleting a database, renaming the attachment store folder if it exists and delete it in a dispatch queue. #308.
We don't need to create our own dispatch queue for this. Just use the shared global queue.