Prevent casting strings that resemble filepaths to ResFileValues

 - add testcase
 - adapt changes
 - introduce decodeManifestWithResources which uses attr decoding w/ resources