fixed pidfile generation

changed Pidfile.new initialization to use instance variable