Fixed bug in mgf-to-file when binary array missing.