Fixes in mkfs.bfs to cleanup 64-Bit and endian problems.

I fixed mkfs.bfs to cleanup the 64-bit and endian problems.
mkbf.bfs is the only file changed.