Fixed listdir in InMemoryStorage.