[CB-3798] Refactored all exec calls to use newly created utility exec function to avoid path with spaces errors