setExtAttributes moved to File-class