Fixed rmdir so it prints help message and also does errors properly