[MODULES-167] Return file URLs for directories