Fix the bug of handling attachments when Django DEFAULT_FILE_STORAGE is ...

Fix the bug of handling attachments when Django DEFAULT_FILE_STORAGE is not FileSystemStorage.

Passed for storing files into Amazon S3 using the django-s3-folder-storage.