Return rack-compliant 404 messages

This fixes the NoMethodError undefined method each for String that spams the output in the tests.