Fix file check to work with node4.
Fix file check to work with node4.

rachetfoot/MathJax-rhino,pkra/MathJax-node,wikimedia/MathJax-node,mathjax/MathJax-node,rachetfoot/MathJax-rhino,wikimedia/MathJax-node,rachetfoot/MathJax-rhino