Fix statsForFile is undefined error

I modified wrong file in last commit. So resend this PR again.

Old PR Link : https://github.com/alex-seville/blanket/pull/322