mfg_util: Update file handling to maintain line endings across various OS
mfg_util: Update file handling to maintain line endings across various OS

Fixes: https://github.com/espressif/esp-idf/issues/4888

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf