PLD: catch ioerrors with specific strings and test