Modified Gem to Use File Join

The Gem should use File.join to join directory paths, so there won’t be
conflicts on operating systems using different directory separator
symbols.