Temporal filtering via amplitude modulation to improve quantum dot single photon sources