#6 Add Windows support
Emulate which on Windows
Fix path separators
Fix line breaks in output