Use old string-returning version of glob() for compatibility.