fixed module loader to work with *.tar modules on Win 2008 R2
Minor CS fixes on top of #5729
Merge branch 'hotfix/#5729-windows-server-2008-tar-realpath'

Close #5729