Improve performance for raw fd based printf like operation. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>