fixing nodejs error messages about the lack of a success callback for making a directory