dev-env:  use mktemp over tempfile

Resolves #6