Write temporary file to same directory as final file
Write temporary file to same directory as final file

Avoids issues where the default temporary directory is on a different
filesystem.

vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa