FileUtils.copy_stream more memory efficient