Fix bootstrap.js

We upgraded the node sdk in #7 and it broke the bootstrap script because the iterator methods changed.  At the moment the bootstrap script is not writing the .env file

This fixes the bootstrap script to use the new iterator signature