html5: Fix gulp build to create build/ directory

Fresh checkout does not contain build/ directory, therefore
fs.createWriteStream fails.

This commits adds a synchronous check + mkdir to create the directory
on the first run.

/to @ritch please review & merge at will.