Making the cross-platform /dev/null reusable