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