Update engine.rb

fix find_layout_with_multi_store gsub error