fix windows path separator parsing (#251).