file.preserveBOM and test