Fix returned extension formatting.