Disable interrupts in deleteFile

I believe this closes #15 on GitHub.
Merge pull request #47 from KnightSoft/interrupt

Disable interrupts in deleteFile