serve(): pre-lookup mime types when adding files