WPI inflation rises to 38-month high of 3.88%