Upgrade script: Fixed dirname call for paths with spaces, and is_process_running() command.
Core/update redirect update script stderr to stdout.
Upgrade script: Removed debug local file installation.