Trimming output of build-xhprof.sh script.