Fixing bug on file detection for PHAR version
Fixing a bug in the autoupdate
Rtrim before NormalizeLnAndLtrimLines