fix bug: forgot to unlock before return
pass -f option to /bin/rm