Fixing not being to rename after using new Phar().

The Phar class locks the Phar file, preventing it from being moved in some instances. Unsetting the $phar variable should fix this.