Move rootfs utility function to utils