files: remove trailing spaces from MKCOL paths, tweaked 404 message