Add "qFileGetContents" helper function.