Ruby implementation of null file (like /dev/null on Un*x, NUL on Windows)