[WIP] PHAR package support.

Fixes #225.