Fix tests on Nginx

rm -rf * didn’t work correctly because of how ProcessBuilder escapes arguments.