function SampleTimeOperator(period, scheduler) {
        this.period = period;
        this.scheduler = scheduler;
    }
Synchronous version of file.

@param {Options} options
@returns {FileSyncObject} object consists of name, fd and removeCallback
@throws {Error} if cannot create a file