Database change

BLOB -> TEXT it seems to be easier for now to deal with TEXT than
             BLOB fields. I'll encode the binary data using base64.
file_id can not be a primary key in 'buffers' table because there
will be a lot of row with the same file_id but with different
buf_order.
Inserting hashs and buffers into the cache.