fixed #33: check whether dst is folder