Fix relative / tilde paths