Fixed the file output for the shear displacement file.