Thanks for the help. I figured that the data node of the write file.vi accepts only typecast of formatted data. When i was reading the help this was not clear to me as it said that it takes in the data directly. I was able to solve the problem by converting the data from binary to fractional string before writing it.
Thanks again
Prasad