uhttpd: fix HTTP incompatibilities in file handler