Fixed so folders are always sorted above files, fix #10.