mark .bat files as binary
Better log format
Fix error when using _daysago in search queries. Fixes #1185398 (_daysago search)