Fix file paths on Windows

Without this fix, plugin tries to open/create the spec file in the current directory since it works only with the `/` forward slashes in the path. However at Windows OS the standard is backward slashes `\`.

Windows is tolerant to the forward slashes. So I think we can just simply convert the slashes at the beginning.