gj: fix bug that cannot open path with spaces.