000-mkpkg.sh -> 000-prep.sh + tweaks

Make prep.sh check for existency of files
before it re-generates them.