Changed npdf to pdf so both the ruby and python versions can generate valid input for john