Fixed to run test and sapmle on Linux.

Fixed path in test and sample scripts.
"samples/01.jpg" -> os.path.join("samples", "01.jpg")