Writes a file, terminate the program on error
The line number information from where the call originates
Path to file
Full content of the file to be written
See Implementation
Writes a file, terminate the program on error