Write perplexity and logprob with higher precision.

Just writes higher precision output necessary for perplexity optimizaiton.