change algo lib,don't use tmp file under d:\

exception on computer without d disk partition