Fixed problem with -c1 compression not properly working with certain files due to a missing buffer size reset