I suppose this error is triggered because you haven't a portraits folder. Just make an empty folder and call it "portraits". If I'm not mistaken (and I could be), it should be created in the same directory containing the "saves" folder and the "settings.ini" and "progressdata" files.
Even better, download a portrait pack. :)