consolidated mode code, fixed bug not allowing usage of 'b' as the unit in size param
Added a 'printable' option to only write printable characters to the outfile