server_path: remove extra extentions.