Fix incorrect detection of rspec file when file is open within a folder on windows

On windows, when a rspec file is open within a folder, the method find_partition_folder raised an error: invalid regex due to \\ as file separator
Merge pull request #197 from legallth17/patch-1

Fix incorrect detection of rspec file when  open within a folder on windows