download from NSURLConnection to file, instead of NSMutableData
Preparations for 64-bit compilation