SYNOPSIS
        int write_file(string file, string str)

DESCRIPTION
        Append the string str to the file file. Returns 1 for success
        and 0 if any failure occured.

SEE ALSO
        file_size(E), cat(E), write_bytes(E), read_file(E), rm(E)
