fix ArrayAccess namespacing
extract setExtension from FilesystemStorage