fopen test for WPML