Fixes to bin dump