Do not return filename in unique_file

Could you please review @w0uld? This would affect your work on #88.
Yes, this code is aimed to avoid any race conditions (TOCTOU) vulnerabilities (clobbering symlinks/files).