windows-updates: added detectEol() and its calls when writing to smart.json, smart.lock and .gitignore - original EOL is used or os.EOL of there were no such file
windows-updates: now 'create-package' command uses os.EOL for stub files instead of '\n'