[ADD] support old CentOS' magic module
[FIX] handle empty binary fields correctly