Better path handling when loading configuration files.