filestore.js - fix exports