Use subprocess to pull sugar-build

Otherwise we start using logging and then switching to
a file doesn't work anymore.