Module Testo_util.Create_temp_file

Reimplementation of temporary file creation

This solves the following problems:

val get_temp_dir_path : unit -> Fpath.t
val get_temp_file_path : ?get_random_key:(unit -> int) -> ?prefix:string -> ?suffix:string -> ?temp_dir:Fpath.t -> unit -> Fpath.t
val open_out : ?perms:int -> ?windows_binary:bool -> ?windows_file_share_delete:bool -> Fpath.t -> Stdlib.out_channel
val open_temp_file : ?get_random_key:(unit -> int) -> ?perms:int -> ?temp_dir:Fpath.t -> ?windows_binary:bool -> ?windows_file_share_delete:bool -> ?prefix:string -> ?suffix:string -> unit -> Fpath.t * Stdlib.out_channel