fixed the access to glob files for hadoop2. fixes #305