Fix the bug of handling attachments when Django DEFAULT_FILE_STORAGE is not FileSystemStorage