Make sure extension does not include dot