Fix underfined method in engine.rb

I got undefined method `start_with?' against the pathnames returned from assets.paths. Converting to string first fixes the comparison.