update bluebird
detect whether there really is a scratchpad

fixed #393