strip newline characters from HandbrakeCLI output