fix, follow-up, reassess bp in every loop in bzr_version()

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
hgiene, call umask() before mkstemp() in accordance with CWE-377

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
Merge branch 'code/hygiene'

* code/hygiene:
  hgiene, call umask() before mkstemp() in accordance with CWE-377
  fix, follow-up, reassess bp in every loop in bzr_version()