Fix float metric collection in userscripts and diskusage

I tried adjusting unit tests as well, however comparing float values in tests seems completely broken now because of the way test.py accesses metrics submitted by collectors (`actual_value = calls[0][0][1]`). I am not that comfortable with the codebase to fix that properly.