Also match routes without trailing slash for files app

Fix #11209 

@LukasReschke @MorrisJobke @DeepDiver1975 
Doesn't make a difference, but sure, if you want it, you can have it.