fix #17, should return ftell(m_fp)