Fixed TestIO so it doesn't leave dead files in /tmp.
Fixed TestIO so it doesn't leave dead files in /tmp.

We can safely unlink the temporary file after it was opened since it
won't actually go away until the file descriptor is closed as well.
I also got rid of the superfluous strdup() call -- mkstemp() needs a
writable buffer, but it doesn't matter whether it's not the stack or
on the heap.

travis-repos/rubinius,travis-repos/rubinius,digitalextremist/rubinius,mlarraz/rubinius,lgierth/rubinius,Wirachmat/rubinius,slawosz/rubinius,dblock/rubinius,heftig/rubinius,jemc/rubinius,jemc/rubinius,digitalextremist/rubinius,ngpestelos/rubinius,slawosz/rubinius,slawosz/rubinius,slawosz/rubinius,Azizou/rubinius,sferik/rubinius,kachick/rubinius,kachick/rubinius,heftig/rubinius,sferik/rubinius,ruipserra/rubinius,dblock/rubinius,jsyeo/rubinius,benlovell/rubinius,ruipserra/rubinius,pH14/rubinius,benlovell/rubinius,heftig/rubinius,dblock/rubinius,jsyeo/rubinius,travis-repos/rubinius,pH14/rubinius,kachick/rubinius,mlarraz/rubinius,lgierth/rubinius,heftig/rubinius,mlarraz/rubinius,heftig/rubinius,sferik/rubinius,mlarraz/rubinius,travis-repos/rubinius,jsyeo/rubinius,sferik/rubinius,sferik/rubinius,ruipserra/rubinius,jemc/rubinius,Azizou/rubinius,sferik/rubinius,mlarraz/rubinius,digitalextremist/rubinius,jemc/rubinius,jsyeo/rubinius,digitalextremist/rubinius,kachick/rubinius,kachick/rubinius,Wirachmat/rubinius,digitalextremist/rubinius,jemc/rubinius,heftig/rubinius,digitalextremist/rubinius,ngpestelos/rubinius,lgierth/rubinius,dblock/rubinius,kachick/rubinius,pH14/rubinius,mlarraz/rubinius,benlovell/rubinius,ruipserra/rubinius,jemc/rubinius,sferik/rubinius,travis-repos/rubinius,pH14/rubinius,travis-repos/rubinius,slawosz/rubinius,ngpestelos/rubinius,benlovell/rubinius,Wirachmat/rubinius,Wirachmat/rubinius,heftig/rubinius,jsyeo/rubinius,travis-repos/rubinius,mlarraz/rubinius,ruipserra/rubinius,Wirachmat/rubinius,kachick/rubinius,ruipserra/rubinius,lgierth/rubinius,pH14/rubinius,Azizou/rubinius,digitalextremist/rubinius,ngpestelos/rubinius,benlovell/rubinius,ruipserra/rubinius,slawosz/rubinius,ngpestelos/rubinius,Azizou/rubinius,benlovell/rubinius,jsyeo/rubinius,pH14/rubinius,lgierth/rubinius,dblock/rubinius,lgierth/rubinius,dblock/rubinius,ngpestelos/rubinius,jsyeo/rubinius,slawosz/rubinius,ngpestelos/rubinius,Wirachmat/rubinius,benlovell/rubinius,Azizou/rubinius,Wirachmat/rubinius,pH14/rubinius,Azizou/rubinius,jemc/rubinius,lgierth/rubinius,dblock/rubinius,kachick/rubinius,Azizou/rubinius