fileutil.js - ftype support