convert path separator to slash on windows.
to adapt cobertura reporter, the helper need have more fields, otherwise there will be "Fatal error: Object.keys called on non-object"