Support for writing displacement field at optimization intervals (antsRegistration).