Make gitchain's database a directory

This is done in anticipation of data storage which should likely
be outside of the single file database