fix puma state and pid paths.