fog/fog — pull request #2703 by jdpaton (2014-02-24 22:18:20+00:00)
Title: Don't read entire file into memory when saving to local blob storage.

We are using the local blobstore as a backend for concurrent uploads and
observed that memory was leaking quite quickly as GC cannot keep up.

So here, when the dest, src are both local files, instead of calling
File.read, simply copy the file.