Strip whitespace from vappid

When reading the vappid from a file strip any leading or trailing whitespace
so that the URL can be constructed correctly.