Switch from fs to graceful-fs