Shim for SessionHandlerInterface, PHP 5.3