Set limits at start so we don't have file openning issues on OS X (#3)