Replace all read by read -r

It is not always necessary, but avoids potential weirdness.