bug4282 220 B

1234
  1. o Code simplifications and refactoring:
  2. - Extract the common duplicated code for creating a subdirectory
  3. of the data directory and writing to a file in it. Fixes ticket
  4. 4282; patch from Peter Retzlaff.