Add Windows support to getConfigFileName()