Use grunt file methods instead of node’s fs ones.