[FIX] support old firefoxes not implementing window.location.origin
[FIX] remove old magic's charset detection
[RFR] allow to get any binary field's extension
[ADD] support old CentOS' magic module
[FIX] handle empty binary fields correctly