Add support for filesizes like 1.2m

Before this fix 1.2m would be interpreted as 12mb, which could cause all kind of issues. `~~` is used for stripping the decimal part, but `Math.floor(size)` or `parseInt(size, 10)` would work too.