Ticket #3481: guid datastore for 1.9

Changes the disk datastore to use guids instead of dates. This was originally for 1.8, but I refactored it for 1.9. I'm not caught up on all the improvements in 1.9 yet, so wanted to have someone review this before merging.