DataWriter can printBOM now.
The procedure in DataReader which recognizes the BOM of a data file has also been improved.

Signed-off-by: 核心力量 <kernelforce@gmail.com>