A library for self-upgrading Phars.