Fix some issues creating jail templates on UFS.

Also fallback to pulling from FreeBSD mirrors if the PC-BSD mirrors
do not have the dist files we want