Fix attributes of FileStorage being deleted even if type is FileStorage

- Don't call .lower() and convert() if type is FileStorage