File downloads are now flushed to disk as file segments are downloaded to avoid storing multi-gigabyte files in memory before writing to file, closes #4.