Path won't have trailing slash if extension exists.