Bug #19746 - fix for changed pack() behavior in PHP 5.5