elog: fprintf->fwrite more faster