Titanium implementation of node.js's fs module