Multi-level directories are out of order because of array.reverse()

Because array.reverse() affects the array and not just the result, the split array was out of order and generated incorrect paths when more than one level exists, e.g. a/b/index.dust became b/a/index.js. I just added a second .reverse().