Remove duplicate call mg_stat
Remove duplicate call mg_stat (use flag is_directory)
Incorrect format %d->%u
Merge pull request #1 from pavel-pimenov/fix-duplicate-call-mg_stat

Fix duplicate call mg_stat