replacing "rm -rf" and "mkdir -p" with native nodejs packages