make a path absolute before loading it