Fixed module loader to work with *.tar modules in IIS7.5 on Win 2008 R2

`realpath('.')` and `realpath('')` were returning false on a particular machine with IIS7.5 on Win 2008 R2.