chiark / gitweb /
journal-gatewayd: factor out opening of temp file