made pysftp an optional requirement and fixed caching bug