Change where LocateRcfile() is definited so we can test it

refs #67