add django setting for temp path prefix

For implementations with large databases, control is needed over where
the database dump gets temporarily written.  This is done through the
"prefix" arg to NamedTemporaryFile.