test case added for file names with non ascii characters
pass the argument to the ctor
disable error handler while running phpunit
adding fopen tests