i/o tests don't pass with astropy 1.0 (released in Jan 2015). Update code so tests pass. restricting astropy versions between 0.3 and 0.4.4 for now.