Well use the generator image you can find on the pharo repo, it is hard to build such an image by hand.
This code:
Primitives lookupDirectory: encodedPath filename: encodedBasename
Should be:
FilePluginPrims��lookupDirectory: encodedPath filename: encodedBasename
Now I don't why this was not correct (File management is pure magic to me).
I would recommend you to post question about VMMaker not in this mailing list, because few people can answer here, but instead in the pharo-dev mailing list OR Squeak-vm-dev.
Have fun with VMMaker