@Override
				public void doWithInputStream(InputStream stream) throws IOException {
					// TODO hadoop
					FileOutputStream out = new FileOutputStream(new File(tmpDir,
							fileName.replaceAll("\\/", "_")));
					FileCopyUtils.copy(stream, out);
				}
Replaces Hadoop tasklet so we can just write to java.io.tmpdir instead.
extensions/spring-xd-extension-batch/src/test/java/org/springframework/batch/integration/x/RemoteFileToTmpTests.java