fixed append method on PSDocument (still no resource merging)