scantailor: Various fixes for issues on Windows platforms
scantailor: Various fixes for issues on Windows platforms

miloh/spreads,adongy/spreads,adongy/spreads,DIYBookScanner/spreads,nafraf/spreads,miloh/spreads,DIYBookScanner/spreads,DIYBookScanner/spreads,gareth8118/spreads,gareth8118/spreads,gareth8118/spreads,nafraf/spreads,adongy/spreads,miloh/spreads,nafraf/spreads