Fix for glob failing, introduces security hole.