Support offset when downloading a file