Properly convert int -> string
Stop template error from hiding parameter error
Use internal error handler where applicable
If the file is not regular but is not a directory, still serve it