Store and get files from cache with Node.js