If log directory/file don't exist, create them.