Update Storage.php

Change set method to die if $value is object