Correctly registering the listener

The file.exists test is now more reliable.
Merge pull request #96 from caiusb/recorder-fix

Correctly registering the listener