Synchronously removes files and directories (modeled on the standard POSIX rm utility). Returns undefined.