(PUP-1044) Replace IO::copy_stream with FileUtils.copy_stream for 1.8.7

Ruby 1.8.7 does not have IO::copy_stream, this method is only available
on FileUtils.