Fixed absolute path detection on Windows
Fixed absolute path detection on Windows
Fixed relative path composition on Windows

Since the project does not consistently use DIRECTORY_SEPARATOR to
separate the paths, function getRelativeFile() gets a mixture of forward
and backward slashes in paths and fails to remove the $inputRoot from
the $inputFile. This caused it to return invalid paths on Windows.
Another fix for path detection on windows
Improved temp file usage in tests

Instead of using "/tmp/whatever", use tmpfile() which works on all
operating systems.
Merge branch 'master' of https://github.com/ihabunek/phrozn into fix-win

Importing fix
Merge remote-tracking branch 'ihabunek/win32' into fix-win