Fix a crash when SAVEDATA_FILE_LIST is invalid

I think that's what caused this anyway.  I was getting a heap overflow in both places (delete, memcpy and also snprintf on non-null-terminated data ouside of bounds.)

-[Unknown]