Add paths.h/cpp for environment-defined paths

This avoids us including windows.h in execution_time_predictor.cpp and
tempname.cpp. Now, we just include it in paths.cpp.
Add rename[12]