Fix use of mktemp for platforms that need to supply a template
Fix use of mktemp for platforms that need to supply a template

vlc-mirror/libbluray,zxlooong/libbluray,ShiftMediaProject/libbluray,Distrotech/libbluray,Distrotech/libbluray,pingflood/libbluray,EdwardNewK/libbluray,vlc-mirror/libbluray,mwgoldsmith/bluray,koying/libbluray,UIKit0/libbluray,ShiftMediaProject/libbluray,Distrotech/libbluray,Azzuro/libbluray,UIKit0/libbluray,EdwardNewK/libbluray,EdwardNewK/libbluray,pingflood/libbluray,vlc-mirror/libbluray,koying/libbluray,ace20022/libbluray,zxlooong/libbluray,tourettes/libbluray,zxlooong/libbluray,UIKit0/libbluray,koying/libbluray,mwgoldsmith/bluray,pingflood/libbluray,Azzuro/libbluray,vlc-mirror/libbluray,Azzuro/libbluray,koying/libbluray,ace20022/libbluray,EdwardNewK/libbluray,Azzuro/libbluray,tourettes/libbluray,UIKit0/libbluray,ace20022/libbluray,tourettes/libbluray,ShiftMediaProject/libbluray,tourettes/libbluray,mwgoldsmith/bluray,Distrotech/libbluray,ace20022/libbluray,mwgoldsmith/bluray,ShiftMediaProject/libbluray