Fixed missing 'io' import