Correctly generate pid file paths in otserver.

Just updated the server code to use the same method as the client.