fixed value types not tested against wrapper classes
fixed: unmarshaller writes directly to file -> in case of marshalling
exception stops writing and both original file and new file are lost