(number) file.write(string filename[, object]);
Writes the entire object as a string and returns the result code. This function is binary safe.