Update snap-in-compiler/snapin-creator.sh

Fix argument handling and eliminate a needless fork.