The file you attached is completely empty / invalid... You are creating this on PC-BSD 9.0-RC2?
BTW, I've just fixed a bug with pbi_create putting files in the wrong location. If you update pbi-manager from SVN you can test:
% svn co svn://svn.pcbsd.org/pcbsd/current/src-sh/pbi-manager pbi-manager
% cd pbi-manager
# make install
After doing that, I was able to run
# pbi_create -a "Oskar" -n "TestProgram" -r "0.0.1" -w "http://example.com" <dir>
And it created:
The PBI installs just fine here.