I was briefly looking through the files trying to help you figure this one out. I don't know what exactly is causing your errors.
But I'm curious if you could do what you are attempting simply by appending some g-code to the beginning of the print in your slicing software?
Anyways, I couldn't find a useful manual or help file on printcore.py.
As a linux geek it helps to make sure file permissions aren't an issue. What happens if you run your command with "sudo"?
Other than that I really can't help, hopefully someone who knows the ins and outs of the command line variants of this package can help here.