Fix a bug where CI_Session_memcached_driver doesn't write empty sessions

Related: #3919
2 files changed