function writeStringToFS(target, string, callback) {
		var byteArray = new Uint8Array(string.length);
		for (var i=0; i<byteArray.length; i++) {
			byteArray[i] = string.charCodeAt(i) & 0xff;
		}
		writeByteArrayToFS(target, byteArray, callback);
	}
function writeStringToFS(target, string, callback) {
		var byteArray = new Uint8Array(string.length);
		for (var i=0; i<byteArray.length; i++) {
			byteArray[i] = string.charCodeAt(i) & 0xff;
		}
		writeByteArrayToFS(target, byteArray, callback);
	}
function writeStringToFS ( target , string , callback ) { var byteArray = new Uint8Array ( string . length ) ; for ( var i = 0 ; i < byteArray . length ; i ++ ) { byteArray [ i ] = string . charCodeAt ( i ) & 0xff ; } writeByteArrayToFS ( target , byteArray , callback ) ; }
transfer image
transfer image