Added python scripts to run and print profile stats. Fixed a bug in
incremental writing benchmark.