fix minor bug in function fetchFileFromDropbox