Try to fix test on some Windows.

The text looks identical, so I suspect something is funky with $/. So don't
use $/ in the test and use `file_contents_like` instead.