Use bzr --quiet to avoid it outputting stuff and messing up http headers. (Scott...