mogstored_rack: fix Ruby 1.8 compatibility