Fix #114 Promisify the bootstrap code