can you put this in pandas/io/common.py ?