Flush stdout to inform buildbot that it is not hang.

Added retry and let 'node-webkit-' bundle to be uploaded first.