Fixed XML read/write bug: Must use write methods of (VRS)ResourceLoader
class.