use the node fs functions for test stability.