Determine io settings from file extension