handle config.ini being a symlink

In particular, if config.ini -> subdir/config.ini and
it defines tree_file = foo.json, make sure we interpret
that as subdir/foo.json