Node.js cache for storing files on disk and in memory