add missing parameter
introduce helper function runningOnWindows()
setlocale will not work on windows
test case added for file names with non ascii characters
test data anjusted
using windows short path with php functions - intermediate stage - we need to move the file abstraction into a stream wrapper