Safer file handling using temp files
Simplified VMDK image creation process