TST: fix failing BMP tests on Windows