Random file access implementation for node.js