Some tweaks
* Write out report to $PWD/replay-report.json
* Track `unapplied` transactions
* Explicitly cast istream to bool in readBytesTo method
* Extract a few helpers