improve I/O interface for GCTAPsfKing