improve tempfile handling
improve tempfile handling

TheOpenDevProject/gmusicapi,jimyx17/gmusic,peetahzee/Unofficial-Google-Music-API,dvirtz/gmusicapi,dvirtz/gmusicapi,simon-weber/gmusicapi,tanhaiwang/gmusicapi,simon-weber/Unofficial-Google-Music-API,nvbn/Unofficial-Google-Music-API,thebigmunch/gmusicapi