Moved the locked file assertion into the RippleOperation. Closes #38