convert: Fix #962, extensions in auto mode