Dir length will be different after gsub when spaces are in path.

Simple fix for a bug that happens if there are spaces in the path to xiki.