Redirect to index.html on 404

Probably really should be handled by URL canonicalization, but
just porting the old changes for now.