As it turns out, I didn’t read enough: I had to use the node_helper to access the filesystem. Sorry for digging out the thread.