Protect against spaces and other characters in Megalink file paths.