non-alphabetic characters support for paths
merge in dmitry's changes