Fixed uninitialized char array and changed fclose to pclose
Merge pull request #56 from cweidenkeller/fix_uninitialized_char_array

Fixed uninitialized char array