Make read-string-safe nil-safe, fix npe.