Ensure arithmetic tests with `stat' are integer

[ FIXED ]  Enforce `stat' uses decimal notation to compare devices
to allow the integer tests to succeed.  The previous version allowed
hexidecimal notation which would fail if a non-integer was displayed