spacemanager: Add missing update of deleted flag

Also refactored File class to use a boolean for this flag.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/6451/