retry getting file five times (fix #38)