iio: mraa_iio_write_string now using open insteam of fopen