Mimic Hadoop path, and return empty array for list of non-existent dir