Fixed crash when pjt reads 0 byte file. Thanks to Tadamasa Kimura!