Django 2.2.21 introduced the validation of FieldFile.save() name
argument, which cannot contain a path separator anymore. To use the
received FileField value as a base filename, we must apply
os.path.basename() on it first.
ref. https://docs.djangoproject.com/en/3.2/releases/2.2.21/