Fix max stack error.

See http://stackoverflow.com/questions/23702801/grunt-task-error-maximum-call-stack-size-exceeded-when-using-grunt-markdown and https://github.com/caolan/async/issues/75