Support relative paths properly.