Use `File::NULL` instead of hardcoding `/dev/null`.

Fixes #283
Merge pull request #284 from lucasmazza/fix-null-on-windows

Use `File::NULL` instead of hardcoding `/dev/null`.