Normalize path before using it