*/
public void put(String blobId, InputStream in, long size) throws Exception {
OutputStream out = null;
// the blobId is a file system path
FileSystemResource internalBlobFile = new FileSystemResource(fs, blobId);
internalBlobFile.makeParentDirs();
try {
out = new BufferedOutputStream(internalBlobFile.getOutputStream());
byte[] buffer = new byte[8192];
int read;
while ((read = in.read(buffer)) > 0) {