Trex announces resignation of CFO