alfred: Use isprint to check for printable characters

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>