most likely the problem is that you can't just say "serial.out" to simp,y store it in the vm directory but "[2018-raid10] firewall/serial.out" and that it's not moved at all with storage motion
the result after migration and back is that you have even a new folder with the virtual machine files
it makes me a sad panda that such stuff happens in 2020
[root@esx1:/vmfs/volumes/5b45d9f7-7403f466-123e-5cb9018c2284] ls -l firewall
total 64
-rw-r--r-- 1 root root 56 Jul 19 20:01 serial.out
[root@esx1:/vmfs/volumes/5b45d9f7-7403f466-123e-5cb9018c2284] ls -l firewall_1/
total 1337536
-rw------- 1 root root 0 Jul 19 15:40 firewall-462c091d.vswp
-rw-r--r-- 1 root root 597 Jul 19 15:40 firewall-7a2c515b.hlog
-rw------- 1 root root 13 Jul 19 15:40 firewall-aux.xml
-rw------- 1 root root 33280 Jul 21 00:02 firewall-ctk.vmdk
-rw------- 1 root root 536870912 Jul 21 00:01 firewall-flat.vmdk
-rw------- 1 root root 8684 Jul 21 00:02 firewall.nvram
-rw------- 1 root root 608 Jul 21 00:01 firewall.vmdk
-rw-r--r-- 1 root root 43 Jul 21 00:01 firewall.vmsd
-rwxr-xr-x 1 root root 9070 Jul 21 05:04 firewall.vmx
-rw------- 1 root root 0 Jul 19 15:40 firewall.vmx.lck
-rwxr-xr-x 1 root root 9054 Jul 21 05:04 firewall.vmx~
-rw------- 1 root root 393728 Jul 21 00:02 firewall_1-ctk.vmdk
-rw------- 1 root root 6442450944 Jul 21 07:46 firewall_1-flat.vmdk
-rw------- 1 root root 614 Jul 21 00:01 firewall_1.vmdk
-rw------- 1 root root 115343360 Jul 19 15:40 vmx-firewall-1177291037-1.vswp
[root@esx1:/vmfs/volumes/5b45d9f7-7403f466-123e-5cb9018c2284]