Make "Bad File" test windows compatible