Support creating of bins with file-db.
Rename file-db to file.js, and support new revisions.
Remove lots of logging.
Merge pull request #599 from remy/feature/file-db

Support file database.