PLD: catch ioerrors with specific strings and test, closes #444