Breaking:
* `Builder::prefix` and `Builder::suffix` now accept a generic `&AsRef<OsStr>`.
This could affect type inference.
* Temporary files (except unnamed temporary files on Windows and Linux >= 3.11)
now use absolute path names. This will break programs that create temporary
files relative to their current working directory when they don't have the
search permission (x) on some ancestor directory. This is only likely to
affect programs with strange chroot-less filesystem sandboxes. If you believe
you're affected by this issue, please comment on #40.
Features:
* Accept anything implementing `&AsRef<OsStr>` in the builder: &OsStr, &OsString, &Path, etc.
Fixes:
* Fix LFS support.
* Use absolute paths for named temporary files to guard against changes in the
current directory.
* Use absolute paths when creating unnamed temporary files on platforms that
can't create unlinked or auto-deleted temporary files. This fixes a very
unlikely race where the current directory could change while the temporary
file is being created.
Misc:
* Use modern stdlib features to avoid custom unsafe code. This reduces the
number of unsafe blocks from 12 to 4.