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`