Make sure we have enough bytes before doing substr operations
Rebuild Phar