add string/buffer store function
fixed the character error and can store string data into mogilefs