Fix formats (bug #83) by taking LAST element in name.split('.').