Bug: Solves save_as in VMFS when the target directory does not exists.

(cherry picked from commit 4a3379272be8e2e312671697563d9b108c9a9dc6)