Do not return filename in unique_file

Could you please review @w0uld? This would affect your work on #88.
@jdkasten what is the purpose of that fd hackery here?