small fixes to glob & glob-stream