added a compatibility module to provide a few convenience functions that exist in python 2.5+ for python 2.4 programs
fixed typo
added a function to read the first line of a file