FIX: take into account that record length can be less than 1s.

This addresses an issue brought up in a comment in https://github.com/mne-tools/mne-python/pull/832