filedb.js - ftype support