Debugging to a file in WordPress