Revert "Fix the yaml parser bug when running in windows"

This reverts commit c259024c2963333728160ffbfe6b6c62ea1184f9.