attempt to fix phar_put_contents