Added logic to compress files in library_preload task based on file extension.

I hereby declare to agree to the OpenUI5 Individual Contributor License Agreement.