Fix `component-search --open` and `component-wiki` in windows