Currently we use tempfile crate in the unit test to create temp file, but vmm-sys-util also
provide a tempfile::TempFile API with more lightweight implementation, since we already
have dependency on vmm-sys-util crate, we can use this API to remove the dependency on tempfile crate.