Use newer node.js fs method