Fix for issue #2 / CSV_PP eof() function call

Added test and fix for passing IO::Handle-like objects that are not tied file handles.