bzr diff returns non-zero exit code (unlike git diff and hg diff), so I had to add workaround)