Fix type of resource paths not being bytes.
Merge pull request #320 from xen0n/fix-resources-path-type

Fix type of resource paths not being bytes.