Handle Dir.glob correctly.

Dir.glob("**/*") in Ruby 2.0 returns ["hoge", ...].
i.e. "hoge/." is NOT included.
On the other hand, Dir.glob("**/*") in Ruby 2.1 returns ["hoge", "hoge/.", ...].
i.e. "hoge/." is included.