Add method set file content, warpper method for file_put_content

Change-Id: I27d0bcfb81c99a99f67b0b65e63d20bd0ae1907c