Don't call strlen(nullptr) in mkdtemp and mkstemp