fix test_salvage.py on Windows

Use file size to check for EOF instead of depending on return from file.read.

Verified test passes on Windows 8.1, OmniOS, and MacOS X 10.10