Global config object only creates a temp dir when needed.