Store pidfile and log output in mage log dir