Find a config file (like .foorc) by walking up from a specific directory