Backport of the linecache module to older Python versions
