Remove "format" from path.