This doesn't completely fix #116, but it makes setting up a cron job to do cleanup much more pleasant.
I moved the storage functionality into the StorageBackend interface, which is currently only implemented by LocalfsBackend.