Remove extension from name