Fix relative paths implementation
Fix relative paths implementation

- Relative paths that point to a root file/folder of the current working
directory (i.e ..\file) are now dealt with correctly
- Fixed multiple occurences of unnecessary cast to wstring

idrassi/idxcrypt,ElMostafaIdrassi/idxcrypt,ElMostafaIdrassi/idxcrypt