I tested your code and everything worked just fine.
No error no nothing, except the expected.
I did this on a Win2000 box, then i also tested this at a Win98 box, and guess what.. i got File Not Found errors.
Figures..ehh? :)
By the way, works fine on Linux too.