A simple module for performing safe file operations.