Rename some H2O R logging methods. Add several checks to ensure directory that logs are saved to exists before attempting to write file.