Tarball switch

Fixes issue #39.

Added configuration to opt out of tarball rewrites.