Determine extname from Parser#format