file mod: avoid shadowing stats() function
Merge pull request #6387 from hulu/file-avoid-stats-shadowing

file mod: avoid shadowing stats() function