Added support for moving paths.
Removed specific callbacks for directories and files, opting instead
for callbacks that apply to generic paths.