HHVM: register_shutdown_handler() fixed in 3.4.0 [Closes #162]