download file bug fix different filesystems