shell32: Dynamically allocate directory buffer.