Synchronous version of the node.js fs module.