Implement readfile() with GIO