A threadedd and non-threaded file downloading script in Python