file mod: avoid shadowing stats() function