fixed mime types, normalize paths