If we moved to always raise on non-printable characters and always and the prepend when MAX_PATH is exceeded, we could drop the arguments to tune warn/error.