Add fsck.fat and various bug fixes