makes relative path into an absolute