Fix rake create_gem which fails by copying files to file not a directory as expected.