Adapt option save file to linux
Detect UTF-16 format.