replace sys.filep with paths.filep

it looks like the filep has been removed from sys. Using paths.filep instead.
Merge pull request #10 from Grisson/patch-1

replace sys.filep with paths.filep