Fix corruption when uploading binary resources: was using getFileAsString() which is not suitable for binary resources, instead pass source File straight through to newContent(), which loads resource verbatim.