Remove use of /dev/null as it doesn't exist on Windows