Fixed read_lockfile for Python 3.x
Fixed read_lockfile for Python 3.x

DougBurke/astropy,AustereCuriosity/astropy,DougBurke/astropy,astropy/astropy,larrybradley/astropy,bsipocz/astropy,aleksandr-bakanov/astropy,joergdietrich/astropy,pllim/astropy,DougBurke/astropy,dhomeier/astropy,funbaker/astropy,funbaker/astropy,joergdietrich/astropy,AustereCuriosity/astropy,mhvk/astropy,MSeifert04/astropy,lpsinger/astropy,saimn/astropy,mhvk/astropy,dhomeier/astropy,bsipocz/astropy,StuartLittlefair/astropy,kelle/astropy,AustereCuriosity/astropy,larrybradley/astropy,pllim/astropy,stargaser/astropy,tbabej/astropy,bsipocz/astropy,stargaser/astropy,dhomeier/astropy,saimn/astropy,kelle/astropy,StuartLittlefair/astropy,astropy/astropy,pllim/astropy,lpsinger/astropy,MSeifert04/astropy,aleksandr-bakanov/astropy,StuartLittlefair/astropy,funbaker/astropy,mhvk/astropy,lpsinger/astropy,aleksandr-bakanov/astropy,kelle/astropy,MSeifert04/astropy,larrybradley/astropy,joergdietrich/astropy,pllim/astropy,tbabej/astropy,joergdietrich/astropy,astropy/astropy,aleksandr-bakanov/astropy,DougBurke/astropy,joergdietrich/astropy,mhvk/astropy,mhvk/astropy,kelle/astropy,tbabej/astropy,larrybradley/astropy,kelle/astropy,stargaser/astropy,astropy/astropy,funbaker/astropy,dhomeier/astropy,AustereCuriosity/astropy,tbabej/astropy,StuartLittlefair/astropy,lpsinger/astropy,pllim/astropy,saimn/astropy,astropy/astropy,stargaser/astropy,lpsinger/astropy,AustereCuriosity/astropy,saimn/astropy,bsipocz/astropy,MSeifert04/astropy,saimn/astropy,StuartLittlefair/astropy,larrybradley/astropy,dhomeier/astropy,tbabej/astropy