Write NSLog to a file because of iOS8