nsqd: fixes some file handling issues on Windows

As discussed in #335, Windows does things a little differently.  This pull request fixes a couple of bugs with how nsqd's diskqueue manages files.