Fix attributes and const uses

Thanks for this helpful package. I'm so happy to get zip support when I can't Install ZipArchive extension in my shared web hosting.

I use your 2.00 version. And there were errors when I tested. Here is small fix, looks like you forget to change the attributes?