Fix possible buffer overflow using sprintf/fprintf