Change directory for swap and backup