I forget, don't we already have utilities to create a temporary filename that's guaranteed to not be used?