phar error: rewrite callback must return a string or false