Add check for 'file' command which is necessary for 32-bit userspace detection.
auto merge of #5837 : tdaede/rust/fix_file_command, r=catamorphism

Without 'file' it assumes a 32 bit userspace even with a 64 bit kernel, which is incorrect in most cases.