Give files their correct extensions.