Better errormessage when file path contains invalid characters. See: [03414f517b7a74].
Better errormessage when file path contains invalid characters.