Fixed write(int, int, boolean) to work with microseconds for the first parameter that sets the position.