Update fetch.js

creates /data directory if not found