fixes setting for directory containing swap-files