filestore.js - fix stream -> fd