[CB-3798] Fixed several issues where childprocess.spawn failed for paths
with quotes + wrote exec utility function