Fixing File::copy using stream tests.