If fname is NULL return Ruby nil