IO.close should be IO._sysclose.  closes #13.