Change file extention of error logger to *.txt