filebundle: reverse changes made in PR283

The zlib input buffer is not defined const, therefore the extra malloc/memcpy
is required.