Protect kd_collect.sh against whitespace in poolnames