St3: Change the LineEndings onsave instead of onload

Fix #1 for ST3