Fix date string on file names and sanitise app config