LP#1612771: Perl max_chunk_size additions