Fix incorrect detection of rspec file when  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