Update DirectoryStorageAdapter.php