stub System.remove_credentials instead of File operations