Fix issues in mkcephfs

Fix some issues from mkcephfs:
- use mktemp instead of dd+md5sum+awk
- provide a valid $rdir for MONs on -a
- remove rdir in MON case on -a