Remove extra / in target file pathnames

When you passed a directory like some/ to RuboCop you got pathnames like
~/projects/some//test.rb because an extra / was added no matter whether
it was needed or not.