Craft login problem with memcache and ubuntu? session_regenerate_id(): Session object destruction failed is the error i'm receiving after attempting to log in.

I just updated to Ubuntu 16.04LTS using PHP7 and php-memcached. 

Is there a fix for this in a craft version? I'm on version 2.6.2791 and this behavior is still broken. I cannot seem to find a workaround besides overwriting Yii with a workaround myself.
I saw a few work arounds for this here, hopefully it helps:
https://github.com/yiisoft/yii/issues/2376