implemented PhredWriter