PHPSessionHandler: Workaround PHP5 bug