Changes: * Fix a bug to create a wrong pid file when a relative path is specified by using an option -p.