Set logical_path from default mime type extension
parse_path_extnames returns the mimetype once more
Track engine mime types instead of extensions