A default thumbnail is generally not something that’s permanent, so you wouldn’t want to save it, leaving yourself a world of pain if you ever wanted to change it in the future. I’ll keep this simple and afford you that future flexibility. I’ll even show you two ways to do it.
Worth a read, if only for me to learn about trailingslashit().
untrailingshashit() doesn’t want to be left out : )