Changed session_store.rb file to be ruby 1.8 compatible