Doing it on that file doesn't give the same results because a) Applications run at user-level are restricted from write/modify actions in Program Files and b) Calibre has all its files set to read-only.
When I tried, ProcMon shows Calibre attempting a CreateFile operation and getting 'ACCESS DENIED' result. But on a non-readonly file, the CreateFile is successful: