interface change: drop-invalid-dates works with stdin/stdout