encoding issues, entirePcap wrong content type

* Fixed encoding issues
* New plugin pre save callback
* Fixed entirePcap not setting correct Content-Type