HDFS-7431. log message for InvalidMagicNumberException may be incorrect. Contributed by Yi Liu.

(cherry picked from commit 5df7ecb33ab24de903f0fd98e2a055164874def5)