Wake field generation and nonlinear evolution in a magnetized electron-positron-ion plasma