Ignore return from asprintf
Write to the correct fucking file
Log on writes