Fix DNN-5576: "SecureFolder: Cannot sync folder if files "Filename.Extenstion" and "Filename.Extenstion.resources" exist"

See https://dnntracker.atlassian.net/browse/DNN-5576 for more details.