Bug fixing: source uploading failed for python older than 2.7.9