check free space after taking picture and delete oldest images if
necessary