Why mixed open/fopen?