Move finalizer to dedicated file

This makes it possible for zombifier to load this lib without the need
to walk the ast!