Flush stdout to inform buildbot that it is not hang.

Added retry and let 'node-webkit-' bundle to be uploaded first.
Merge pull request #1944 from libm/master

Flush stdout to inform buildbot that it is not hang.