Attempt to fix registration of new users to the database (thanks to Loubafritz for reporting the issue on GitHub).
Fix the way of getting name of files, statistics, status and permissions to don't be affected by special system environment (thanks to Klmar for reporting the issue on GitHub).