Backup: introduced new bufferSize parameter to use custom buffer size on compression