Allow token replacement for read only files

I have made an edit to perform token replacement on readonly files to resolve Issue #12.

Readonly files are no longer skipped.

During token replacement, the read only attribute is removed temporarily, the tokens are replaced, and the file is again made read only.