This can generate an invalid private key. Unluckily, not all random 32 byte streams are valid private keys. See https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/eckey.js#L18 (which by the way differs from our eckey.js version).
Maybe we should update our bitcoinjs-lib files now?