Extension of the method of quasilinearization to hyperbolic partial differential equations of first order