Better glob expansion

This will expand more complex globs that have nested curly brackets like "/user/hadoop/t2/{2014{06{16,17,18,19}},2013{06{16,17,18,19}}}*/{mis,cell,aneous}/*"