Safely move files and directories to trash on Linux