Change writeFiel to writeFileSync. Problem with grunt-apidoc under
linux.