RestClient::Request.execute causes file to be downloaded incorrectly under Windows, use open method as a workaround. #WorksForMe