Dump the first 512 bytes of the buffer if container is unknown. This can help us find out what the actual container is; and fix the container detection bug if there is. Closes #505. Change-Id: I4a8fe5954d0419ef2ccbb9067ec2e9ffe1da417e