make directory absolute