fix #48 now mock correctly handles strange paths

if std device path is not a real file mock was creating that file on host fs
rerouted such files to `/dev/null`
Merge pull request #49 from pkit/tests_fixes

fix #48 now mock correctly handles strange paths